﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Gene_Explorer_Server
{
    public partial class GeneExplorerServer : Form
    {
        public GeneExplorerServer()
        {
            InitializeComponent();
        }

        private void splitContainer1_Panel1_Paint(object sender, PaintEventArgs e)
        {

        }

        private void splitContainer1_Panel2_Paint(object sender, PaintEventArgs e)
        {

        }

        private void splitContainer1_Panel1_Paint_1(object sender, PaintEventArgs e)
        {

        }
        private void newToolStripMenuItem_Click(object sender, EventArgs e)
        {
            
        }

        private void openToolStripMenuItem_Click(object sender, EventArgs e)
        {
            OpenFileDialog openFileDialog = new OpenFileDialog();
            openFileDialog.Title = "Open Dialog";
            openFileDialog.ShowDialog();
        }

        private void addToolStripMenuItem_Click(object sender, EventArgs e)
        {
            OpenFileDialog addFileDialog = new OpenFileDialog();
            addFileDialog.ShowDialog();
        }

        private void closeToolStripMenuItem_Click(object sender, EventArgs e)
        {

        }

        private void removeToolStripMenuItem_Click(object sender, EventArgs e)
        {
       //     OpenFileDialog removeFileFromProjectDialog = new OpenFileDialog();
       //     removeFileFromProjectDialog.ShowDialog();
        }

        private void tabPage1_Click(object sender, EventArgs e)
        {

        }

        private void importToolStripMenuItem_Click(object sender, EventArgs e)
        {
            OpenFileDialog importDataDialog = new OpenFileDialog();
            importDataDialog.ShowDialog();
        }

        private void exportToolStripMenuItem_Click(object sender, EventArgs e)
        {
            SaveFileDialog exportDataDialog = new SaveFileDialog();
            exportDataDialog.ShowDialog();
        }

        private void saveToolStripMenuItem_Click(object sender, EventArgs e)
        {
            SaveFileDialog saveProjectDialog = new SaveFileDialog();
            saveProjectDialog.Title = "Save";
            saveProjectDialog.ShowDialog();
        }

        private void saveAsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            SaveFileDialog saveAsProjectAsDialog = new SaveFileDialog();
            saveAsProjectAsDialog.Title = "Save as";
            saveAsProjectAsDialog.ShowDialog();
        }

        private void customImportToolStripMenuItem_Click(object sender, EventArgs e)
        {
            CustomizationImportingDialog cid = new CustomizationImportingDialog();
            cid.Text = "Customization Importing Settings";
            cid.ShowDialog();
        }

        private void aRIToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ValidationSettingDialog ariSettingDialog = new ValidationSettingDialog();
            ariSettingDialog.Text = "ARI Settings";
            ariSettingDialog.ShowDialog();
        }

        private void fOMToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ValidationSettingDialog fomSettingDialog = new ValidationSettingDialog();
            fomSettingDialog.Text = "FOM Settings";
            fomSettingDialog.ShowDialog();
        }

        private void rIToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ValidationSettingDialog riSettingDialog = new ValidationSettingDialog();
            riSettingDialog.Text = "RI Settings";
            riSettingDialog.ShowDialog();
        }

        private void silhouetteToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ValidationSilhouetteSettingDialog silhouetteSettdingDialog = new ValidationSilhouetteSettingDialog();
            silhouetteSettdingDialog.Text = "Silhouette Settings";
            silhouetteSettdingDialog.ShowDialog();
        }

        private void kmeansToolStripMenuItem_Click(object sender, EventArgs e)
        {
            KmeansSettingDialog ksd = new KmeansSettingDialog();
            ksd.Text = "K-means Settings";
            ksd.ShowDialog();
        }

        private void hierachicalToolStripMenuItem_Click(object sender, EventArgs e)
        {
            HierachicalSettingDialog hierachicalSettingDialog = new HierachicalSettingDialog();
            hierachicalSettingDialog.Text = "Hierachical Settings";
            hierachicalSettingDialog.ShowDialog();
        }

        private void sOMToolStripMenuItem_Click(object sender, EventArgs e)
        {
            SOMSettingDialog ssd = new SOMSettingDialog();
            ssd.Text = "SOM Settings";
            ssd.ShowDialog();
        }

        private void gMMToolStripMenuItem_Click(object sender, EventArgs e)
        {
            GMMSettingDialog gsd = new GMMSettingDialog();
            gsd.Text = "GMM Settings";
            gsd.ShowDialog();
        }

        private void imputationToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ImputationSettingDialog isd = new ImputationSettingDialog();
            isd.Text = "Imputation Settings";
            isd.ShowDialog();
        }

        private void transformationToolStripMenuItem_Click(object sender, EventArgs e)
        {
            TransformationSettingDialog tsd = new TransformationSettingDialog();
            tsd.Text = "Transformation Settings";
            tsd.ShowDialog();

            
        }

        private void GeneExplorer_Load(object sender, EventArgs e)
        {

        }

        private void recordToolStripMenuItem_Click(object sender, EventArgs e)
        {
            CustomLabRecordDialog rd = new CustomLabRecordDialog();
            rd.Text = "Record";
            rd.ShowDialog();
        }

        private void prinToolStripMenuItem_Click(object sender, EventArgs e)
        {
            GraphicPlot gd = new GraphicPlot();
       //     gd.Text = ProjectName + "PCA Plot" + graphyNumber;
            gd.Text = "PCA Plot";
            gd.ShowDialog();
        }

        private void exitToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Application.Exit();
        }

        private void aboutToolStripMenuItem_Click(object sender, EventArgs e)
        {
            About about = new About();
            about.ShowDialog();
        }

        private void manageToolStripMenuItem_Click(object sender, EventArgs e)
        {
            CustomLabManage cLM = new CustomLabManage();
            cLM.ShowDialog();
        }

        private void toolStripMenuItem2_Click(object sender, EventArgs e)
        {
            FilterSettingDialog fSD = new FilterSettingDialog();
            fSD.ShowDialog();
        }

        private void treeView1_AfterSelect(object sender, TreeViewEventArgs e)
        {

        }

        private void toolStripButtonImport_Click(object sender, EventArgs e)
        {
            OpenFileDialog oFD = new OpenFileDialog();
            oFD.ShowDialog();
        }

        private void toolStripButtonExport_Click(object sender, EventArgs e)
        {
            SaveFileDialog sFD = new SaveFileDialog();
            sFD.ShowDialog();
        }

        private void exitToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            Application.Exit();
        }

        private void wizardToolStripMenuItem_Click(object sender, EventArgs e)
        {

        }

    }
}
